//用于给添加组员选择班级成员的grid的checkBox
var chooseClassesMemberCheckBox=Ext.create('Ext.selection.CheckboxModel', {
	listeners: {
		selectionchange: function(sm, selections) {
			chooseClassesMemberAddGroupGridWin.down('#sureButton').setDisabled(
				selections.length === 0);
		}
	}
});

//用于显示组人员信息的grid表单的checkBox
var groupMemberGridCheckBox=Ext.create('Ext.selection.CheckboxModel', {
	listeners: {
		selectionchange: function(sm, selections) {
			groupMemberGrid.down('#deleteButton').setDisabled(
				selections.length === 0);
		}
	}
});

//用于显示班级人员信息的grid表单的checkBox
var classesMemberGridCheckBox=Ext.create('Ext.selection.CheckboxModel', {
	listeners: {
		selectionchange: function(sm, selections) {
			classesMemberGridForDirector.down('#deleteButton').setDisabled(
				selections.length === 0);
		}
	}
});

//用于添加班级成员选择班级成员的grid的checkBox
var chooseClassesMemberAddGridCheckBox=Ext.create('Ext.selection.CheckboxModel', {
	listeners: {
		selectionchange: function(sm, selections) {
			chooseClassesMemberAddGridWin.down('#sureButton').setDisabled(
				selections.length === 0);
		}
	}
});